<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.3.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '9693553117A92ECF86395834FEF6980A';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'boarddemo',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
function p(){}
function o(){}
function n(){}
function m(){}
function l(){}
function I(){}
function J(){}
function H(){}
function Q(){}
function P(){}
function O(){}
function N(){}
function U(){}
function Pi(){}
function Pb(){}
function fb(){}
function ab(){}
function Db(){}
function Cb(){}
function Bb(){}
function Ab(){}
function zb(){}
function Lb(){}
function yb(){}
function Ob(){}
function Nb(){}
function Ub(){}
function Yb(){}
function Wb(){}
function ac(){}
function fc(){}
function ec(){}
function dc(){}
function pc(){}
function oc(){}
function rc(){}
function qc(){}
function xc(){}
function wc(){}
function Gc(){}
function Fc(){}
function vd(){}
function Bd(){}
function Td(){}
function Sd(){}
function Rd(){}
function be(){}
function ie(){}
function he(){}
function le(){}
function ke(){}
function oe(){}
function ne(){}
function qe(){}
function se(){}
function ze(){}
function Ae(){}
function Ee(){}
function Ge(){}
function Le(){}
function Ke(){}
function Oe(){}
function Ye(){}
function Xe(){}
function _e(){}
function $e(){}
function af(){}
function cf(){}
function gf(){}
function pf(){}
function vf(){}
function uf(){}
function wf(){}
function yf(){}
function Bf(){}
function Ef(){}
function Hf(){}
function Nf(){}
function Rf(){}
function Qf(){}
function Sf(){}
function cg(){}
function eg(){}
function hg(){}
function gg(){}
function ig(){}
function kg(){}
function mg(){}
function pg(){}
function sg(){}
function Gg(){}
function Ig(){}
function Og(){}
function Ng(){}
function hh(){}
function gh(){}
function ph(){}
function uh(){}
function th(){}
function Bh(){}
function Gh(){}
function Qh(){}
function Wh(){}
function Zh(){}
function ci(){}
function gi(){}
function ti(){}
function si(){}
function xi(){}
function Ai(){}
function Hi(){}
function Mi(){}
function tg(a){}
function lg(a){lb()}
function og(a){lb()}
function rg(a){lb()}
function Hg(a){lb()}
function fg(){lb()}
function jg(){lb()}
function ng(){lb()}
function qg(){lb()}
function S(){lb()}
function Ni(){lb()}
function yd(){xd()}
function zi(){Ug(this)}
function F(a){this.o=a}
function Fe(a){this.b=a}
function Be(a){this.b=a}
function Cf(a){this.b=a}
function Ff(a){this.b=a}
function Mf(a){this.b=a}
function rf(a){this.c=a}
function lh(a){this.b=a}
function xh(a){this.b=a}
function Th(a){this.d=a}
function di(a){this.b=a}
function Vb(){this.b={}}
function Sb(){this.d=++Qb}
function Ec(a,b){this.b=b}
function Ci(){this.b=new zi}
function ri(){ri=Pi;qi=new ti}
function cb(){cb=Pi;bb=new fb}
function xd(){xd=Pi;wd=new Sb}
function Cg(){Cg=Pi;zg={};Bg={}}
function tc(a){sc.call(this,a)}
function fe(a){sc.call(this,a)}
function Ch(a,b){this.c=a;this.b=b}
function $h(a,b){this.b=a;this.c=b}
function dg(a,b){this.b=a;this.c=b}
function Ii(a,b){this.b=a;this.c=b}
function cc(a){this.b=new nc;this.c=a}
function T(a){lb();this.b=a;kb(this)}
function $d(a,b){Wd(a,b,a.o)}
function hf(a,b){kf(a,b,a.c)}
function t(a,b){!!a.k&&bc(a.k,b)}
function Jh(a,b){(a<0||a>=b)&&Mh(a,b)}
function Sc(a,b){return a.cM&&a.cM[b]}
function Rh(a){return a.c<a.d.F()}
function Zg(b,a){return Hj+a in b.f}
function sd(){if(!od){Qd();od=true}}
function Fd(){if(!Dd){Md();Od();Dd=true}}
function Cd(){this.b=new nc;this.c=null}
function nc(){this.e=new zi;this.d=false}
function ee(){ee=Pi;ce=new ie;de=new le}
function Kb(){Kb=Pi;Jb=new Tb(new Lb)}
function $b(a){var b;if(Xb){b=new Yb;bc(a,b)}}
function gc(a,b){!a.b&&(a.b=new ji);hi(a.b,b)}
function ic(a,b,c){var d;d=kc(a,b);d.D(c)}
function X(a,b,c){return a.apply(b,c);var d}
function xf(a,b,c){this.b=a;this.d=b;this.c=c}
function Te(a){this.g=new nf;this.o=a;u(this)}
function nf(){this.b=Jc(_c,{20:1},9,4,0)}
function ji(){this.b=Jc(dd,{20:1},0,0,0)}
function bf(){Te.call(this,$doc.body)}
function td(){od&&$b((!pd&&(pd=new Cd),pd))}
function qd(a){sd();return rd(Xb?Xb:(Xb=new Sb),a)}
function Pg(a){var b;b=new lh(a);return new $h(a,b)}
function Bi(a,b){var c;c=$g(a.b,b,a);return c==null}
function hi(a,b){Mc(a.b,a.c++,b);return true}
function jb(a,b){a.length>=b&&a.splice(0,b);return a}
function gb(a,b){!a&&(a=[]);a[a.length]=b;return a}
function mb(){try{null.a()}catch(a){return a}}
function Xc(a){if(a!=null){throw new jg}return null}
function Fg(){if(Ag==256){zg=Bg;Bg={};Ag=0}++Ag}
function Pc(){Pc=Pi;Nc=[];Oc=[];Qc(new Gc,Nc,Oc)}
function Se(){Se=Pi;Pe=new Ye;Qe=new zi;Re=new Ci}
function ue(a){this.b=a;this.c=uc(a);this.d=this.c}
function Pf(a,b){this.c=a;this.d=b;this.b='grassland'}
function Vc(a,b){return a!=null&&a.cM&&!!a.cM[b]}
function Gd(a){return !Wc(a)&&a!=null&&a.cM&&!!a.cM[8]}
function Wc(a){return a!=null&&a.tM!=Pi&&!(a.cM&&!!a.cM[1])}
function Ug(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function Ue(a){Se();try{v(a)}finally{ch(Re.b,a)!=null}}
function Ve(){Se();try{ge(Re,Pe)}finally{Ug(Re.b);Ug(Qe)}}
function Xh(a){if(a.c<=0){throw new Ni}return a.b.M(--a.c)}
function Sh(a){if(a.c>=a.d.F()){throw new Ni}return a.d.M(a.c++)}
function qf(a){if(a.b>=a.c.c){throw new Ni}return a.c.b[++a.b]}
function mf(a,b){var c;c=jf(a,b);if(c==-1){throw new Ni}lf(a,c)}
function Wd(a,b,c){w(b);hf(a.g,b);c.appendChild(b.o);x(b,a)}
function Lc(a,b,c,d){Pc();Rc(d,Nc,Oc);d.aC=a;d.cM=b;d.qI=c;return d}
function ah(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function Hc(a,b){var c,d;c=a;d=Ic(0,b);Lc(c.aC,c.cM,c.qI,d);return d}
function Tc(a,b){if(a!=null&&!(a.cM&&a.cM[b])){throw new jg}return a}
function id(a){if(a!=null&&a.cM&&!!a.cM[7]){return a}return new T(a)}
function Y(){if(V++==0){db((cb(),bb));return true}return false}
function y(a,b){a.j==-1?Pd(a.o,b|(a.o.__eventBits||0)):(a.j|=b)}
function ch(a,b){return !b?eh(a):dh(a,b,~~(b.$H||(b.$H=++W)))}
function rd(a,b){return new pc(hc((!pd&&(pd=new Cd),pd).b,a,b))}
function Mh(a,b){throw new og('Index: '+a+', Size: '+b)}
function tb(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}
function vb(a){return sb(ug(a.compatMode,Ti)?a.documentElement:a.body)}
function xb(a){return ug(a.compatMode,Ti)?a.documentElement:a.body}
function eh(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function ob(a){var b=a.parentNode;(!b||b.nodeType!=1)&&(b=null);return b}
function ud(){var a;if(od){a=new yd;!!pd&&bc(pd,a);return null}return null}
function jf(a,b){var c;for(c=0;c<a.c;++c){if(a.b[c]==b){return c}}return -1}
function ii(a,b,c){for(;c<a.c;++c){if(Oi(b,a.b[c])){return c}}return -1}
function bh(e,a,b){var c,d=e.f;a=Hj+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function Qc(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Rc(a,b,c){Pc();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Pd(a,b){Fd();Nd(a,b);b&131072&&a.addEventListener(hj,Kd,false)}
function te(a,b){a.b.textContent=b||Ri;if(a.d!=a.c){a.d=a.c;vc(a.b,a.c)}}
function K(a,b){var c;return c=a,c.tM==Pi||c.cM&&!!c.cM[1]?c.eQ(b):c===b}
function Uc(a){if(a!=null&&(a.tM==Pi||a.cM&&!!a.cM[1])){throw new jg}return a}
function L(a){var b;return b=a,b.tM==Pi||b.cM&&!!b.cM[1]?b.hC():b.$H||(b.$H=++W)}
function Yh(a,b){var c;this.b=a;this.d=a;c=a.F();(b<0||b>c)&&Mh(b,c);this.c=b}
function Tb(a){this.d=++Qb;this.b=a;!Eb&&(Eb=new Vb);Eb.b[Ui]=this;this.c=Ui}
function Af(){this.g=new ef;this.b=new Ie;this.f=new pe;this.i=new Me}
function De(){De=Pi;new Fe('bottom');new Fe('middle');Ce=new Fe(rj)}
function _d(a){a.style[qj]=Ri;a.style[rj]=Ri;a.style['position']=Ri}
function Yf(a,b,c){if(b>=0&&c>=0&&b<a.c&&c<a.b){return a.p[b][c]}return null}
function ug(a,b){if(!(b!=null&&b.cM&&!!b.cM[1])){return false}return String(a)==b}
function yi(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)}
function Oi(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)}
function db(a){var b,c;if(a.b){c=null;do{b=a.b;a.b=null;c=hb(b,c)}while(a.b);a.b=c}}
function eb(a){var b,c;if(a.c){c=null;do{b=a.c;a.c=null;c=hb(b,c)}while(a.c);a.c=c}}
function Of(a){var b;if(a.c==1&&a.d==1){b=new ji;hi(b,new Rf);return b}return null}
function qh(a){var b;b=new ji;a.d&&hi(b,new xh(a));Tg(a,b);Sg(a,b);this.b=new Th(b)}
function Zf(a,b){var c;c=new dg(a.d+(b.d+b.c)*~~(a.o/2),a.e+(b.d-b.c)*~~(a.n/2));return c}
function Jc(a,b,c,d,e){var f;f=Ic(e,d);Pc();Rc(f,Nc,Oc);f.aC=a;f.cM=b;f.qI=c;return f}
function $(a,b,c){var d;d=Y();try{return X(a,b,c)}finally{d&&eb((cb(),bb));--V}}
function Z(b){return function(){try{return $(b,this,arguments)}catch(a){throw a}}}
function wb(a){return (ug(a.compatMode,Ti)?a.documentElement:a.body).scrollTop||0}
function Vg(a,b){return b==null?a.d:b!=null&&b.cM&&!!b.cM[1]?Zg(a,Tc(b,1)):Yg(a,b,~~L(b))}
function Wg(a,b){return b==null?a.c:b!=null&&b.cM&&!!b.cM[1]?a.f[Hj+Tc(b,1)]:Xg(a,b,~~L(b))}
function $g(a,b,c){return b==null?ah(a,c):b!=null&&b.cM&&!!b.cM[1]?bh(a,Tc(b,1),c):_g(a,b,c,~~L(b))}
function s(a,b,c){y(a,Ed(c.c));return new pc(hc((!a.k?(a.k=new cc(a)):a.k).b,c,b))}
function md(a,b,c){var d;d=kd;kd=a;b==ld&&Ed(a.type)==8192&&(ld=null);c.u(a);kd=d}
function Jg(a,b){var c;while(a.B()){c=a.C();if(b==null?c==null:K(b,c)){return a}}return null}
function $f(a,b,c){var d;for(d=0;d<a.q.length;++d){if(ag(a,a.q[d],b,c)){return a.q[d]}}return null}
function pb(b){var c=b.relatedTarget;if(!c){return null}try{var d=c.nodeName;return c}catch(a){return null}}
function vg(b,a){if(a==null)return false;return b==a||b.toLowerCase()==a.toLowerCase()}
function Me(){this.o=$doc.createElement('div');this.b=new ue(this.o);this.o[sj]='gwt-Label'}
function ef(){re.call(this);this.b=(ye(),ve);this.c=(De(),Ce);this.f[xj]=yj;this.f[zj]=yj}
function sc(a){S.call(this,a.F()==0?null:Tc(a.G(Jc(fd,{16:1,20:1},7,0,0)),16)[0]);this.b=a}
function Ne(){Me.call(this);te(this.b,"Sorry, your browser doesn't support the HTML5 Canvas element")}
function ye(){ye=Pi;new Be('center');new Be('justify');we=new Be(qj);new Be('right');xe=we;ve=xe}
function Dc(){Dc=Pi;Cc=new Ec('RTL',0);Bc=new Ec('LTR',1);Ac=new Ec('DEFAULT',2);Lc($c,{20:1},23,[Cc,Bc,Ac])}
function G(){var a;!E&&(E=new J);a=$doc.createElement('canvas');if(!a.getContext){return null}return new F(a)}
function nb(a){var b,c,d;d=a&&a.stack?a.stack.split('\n'):[];for(b=0,c=d.length;b<c;++b){d[b]=ib(d[b])}return d}
function R(a){var b,c,d;c=Jc(ed,{20:1},30,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw new qg}c[d]=a[d]}}
function kc(a,b){var c,d;d=Tc(Wg(a.e,b),13);if(!d){d=new zi;$g(a.e,b,d)}c=Tc(d.c,14);if(!c){c=new ji;ah(d,c)}return c}
function lc(a,b){var c,d;d=Tc(Wg(a.e,b),13);if(!d){return ri(),ri(),qi}c=Tc(d.c,14);if(!c){return ri(),ri(),qi}return c}
function Xd(a,b){var c;if(b.n!=a){return false}try{x(b,null)}finally{c=b.o;ob(c).removeChild(c);mf(a.g,b)}return true}
function lf(a,b){var c;if(b<0||b>=a.c){throw new ng}--a.c;for(c=b;c<a.c;++c){Mc(a.b,c,a.b[c+1])}Mc(a.b,a.c,null)}
function mc(a){var b,c;if(a.b){try{for(c=new Th(a.b);c.c<c.d.F();){b=Tc(Sh(c),15);ic(b.b,b.d,b.c)}}finally{a.b=null}}}
function Tg(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=new Ch(e,c.substring(1));a.D(d)}}}
function Sg(h,a){var b=h.b;for(var c in b){var d=parseInt(c,10);if(c==d){var e=b[d];for(var f=0,g=e.length;f<g;++f){a.D(e[f])}}}}
function lb(){var a,b,c,d;c=jb(nb(mb()),2);d=Jc(ed,{20:1},30,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=new tg(c[a])}R(d)}
function gwtOnLoad(b,c,d,e){$moduleName=c;$moduleBase=d;if(b)try{Qi(hd)()}catch(a){b(c)}else{Qi(hd)()}}
function Eg(a){Cg();var b=Hj+a;var c=Bg[b];if(c!=null){return c}c=zg[b];c==null&&(c=Dg(a));Fg();return Bg[b]=c}
function uc(a){var b;b=a[Vi]==null?null:String(a[Vi]);if(vg(Si,b)){return Dc(),Cc}else if(vg(Wi,b)){return Dc(),Bc}return Dc(),Ac}
function kh(a,b){var c,d,e;if(b!=null&&b.cM&&!!b.cM[31]){c=Tc(b,31);d=c.I();if(Vg(a.b,d)){e=Wg(a.b,d);return yi(c.J(),e)}}return false}
function Yg(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){return true}}}return false}
function Xg(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){return f.J()}}}return null}
function Lf(a){var b;b=a.b.createElement(Cj);b.src=a.b.URL.substr(0,a.b.URL.indexOf(Dj)-0)+'images/unit.png';return b}
function pe(){var a;this.o=(a=$doc.createElement('BUTTON'),a.type='button',a);this.o[sj]='gwt-Button';this.o.innerHTML='Draw Board'}
function re(){this.g=new nf;this.f=$doc.createElement('table');this.e=$doc.createElement('tbody');this.f.appendChild(this.e);this.o=this.f}
function Ie(){re.call(this);this.b=(ye(),ve);this.d=(De(),Ce);this.c=$doc.createElement(wj);this.e.appendChild(this.c);this.f[xj]=yj;this.f[zj]=yj}
function bg(a,b,c){this.f=b;this.k=c;this.b=8;this.c=8;this.n=64;this.o=128;this.q=a;this.g=true;this.i=true;this.j=false}
function Fb(a,b,c){var d,e,f;if(Eb){f=Tc(Eb.b[a.type],4);if(f){d=f.b.b;e=f.b.c;f.b.b=a;f.b.c=c;t(b,f.b);f.b.b=d;f.b.c=e}}}
function kb(a){var b,c,d,e;d=nb(Wc(a.b)?Uc(a.b):null);e=Jc(ed,{20:1},30,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=new tg(d[b])}R(e)}
function vc(a,b){switch(b.b){case 0:{a[Vi]=Si;break}case 1:{a[Vi]=Wi;break}case 2:{uc(a)!=(Dc(),Ac)&&(a[Vi]=Ri,undefined);break}}}
function wg(c){if(c.length==0||c[0]>Gj&&c[c.length-1]>Gj){return c}var a=c.replace(/^(\s*)/,Ri);var b=a.replace(/\s*$/,Ri);return b}
function Mc(a,b,c){if(c!=null){if(a.qI>0&&!Sc(c,a.qI)){throw new fg}if(a.qI<0&&(c.tM==Pi||c.cM&&!!c.cM[1])){throw new fg}}return a[b]=c}
function Hb(a){var b,c;b=a.c;if(b){return c=a.b,(c.clientX||0)-qb(xb(b.ownerDocument),b)+sb(b)+vb(b.ownerDocument)}return a.b.clientX||0}
function Ib(a){var b,c;b=a.c;if(b){return c=a.b,(c.clientY||0)-rb(xb(b.ownerDocument),b)+(b.scrollTop||0)+wb(b.ownerDocument)}return a.b.clientY||0}
function He(a,b){var c,d;c=(d=$doc.createElement(tj),d[uj]=a.b.b,d.style[vj]=a.d.b,d);a.c.appendChild(c);w(b);hf(a.g,b);c.appendChild(b.o);x(b,a)}
function ib(a){var b,c,d;d=Ri;a=wg(a);b=a.indexOf('(');if(b!=-1){c=a.indexOf('function')==0?8:0;d=wg(a.substr(c,b-c))}return d.length>0?d:'anonymous'}
function w(a){if(!a.n){(Se(),Vg(Re.b,a))&&Ue(a)}else if(a.n){a.n.z(a)}else if(a.n){throw new lg("This widget's parent does not implement HasWidgets")}}
function Kf(a,b){var c,d;d=a.b.createElement(Cj);~~(b.c/(b.d+1))%2==0?(c='1'):(c=yj);d.src=a.b.URL.substr(0,a.b.URL.indexOf(Dj)-0)+Ej+b.b+'/center'+c+Fj;return d}
function v(a){if(!a.i){throw new lg("Should only call onDetach when the widget is attached to the browser's document")}try{a.s()}finally{a.o.__listener=null;a.i=false}}
function Wf(a,b){var c,d,e;c=Zf(a,b);if(Of(b)){for(e=new Th(Of(b));e.c<e.d.F();){Tc(Sh(e),22);d=Lf(a.k);a.f.drawImage(d,c.b-~~(d.width/2),c.c-d.height,d.width,d.height)}}}
function _f(a,b,c,d){var e,f,g,h;h=a.length;e=false;for(f=0,g=h-1;f<h;g=f++){(b[f]<=d&&d<b[g]||b[g]<=d&&d<b[f])&&c<~~((a[g]-a[f])*(d-b[f])/(b[g]-b[f]))+a[f]&&(e=!e)}return e}
function Kc(a,b,c,d,e,f,g){var h,i,j,k;j=d[e];i=e==f-1;k=Ic(i?g:0,j);Pc();Rc(k,Nc,Oc);k.aC=a[e];k.cM=b[e];k.qI=c[e];if(!i){++e;for(h=0;h<j;++h){k[h]=Kc(a,b,c,d,e,f,g)}}return k}
function x(a,b){var c;c=a.n;if(!b){try{!!c&&c.i&&v(a)}finally{a.n=null}}else{if(c){throw new lg('Cannot set a new parent without first clearing the old parent')}a.n=b;b.i&&a.t()}}
function Tf(a,b){var c;c=Jc(bd,{20:1},27,4,0);c[0]=new dg(b.b-~~(a.o/2),b.c);c[1]=new dg(b.b,b.c-~~(a.n/2));c[2]=new dg(b.b+~~(a.o/2),b.c);c[3]=new dg(b.b,b.c+~~(a.n/2));return c}
function dh(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){c.length==1?delete h.b[b]:c.splice(d,1);--h.e;return f.J()}}}return null}
function _g(j,a,b,c){var d=j.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.I();if(j.H(a,h)){var i=g.J();g.K(b);return i}}}else{d=j.b[c]=[]}var g=new Ii(a,b);d.push(g);++j.e;return null}
function Ic(a,b){var c=new Array(b);if(a==3){for(var d=0;d<b;++d){var e=new Object;e.l=e.m=e.h=0;c[d]=e}}else if(a>0){var e=[null,0,false][a];for(var d=0;d<b;++d){c[d]=e}}return c}
function jd(a){return $stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date).getTime(),type:'onModuleLoadStart',className:a})}
function df(a,b){var c,d,e;d=$doc.createElement(wj);c=(e=$doc.createElement(tj),e[uj]=a.b.b,e.style[vj]=a.c.b,e);d.appendChild(c);a.e.appendChild(d);w(b);hf(a.g,b);c.appendChild(b.o);x(b,a)}
function bc(b,c){var a,d,e;!c.d||(c.d=false,c.e=null);e=c.e;c.e=b.c;try{jc(b.b,c)}catch(a){a=id(a);if(Vc(a,6)){d=a;throw new tc(d.b)}else throw a}finally{e==null?(c.d=true,c.e=null):(c.e=e)}}
function ge(b,c){var h;ee();var a,d,e,f,g;d=null;for(g=b.y();g.B();){f=Tc(g.C(),9);try{c.A(f)}catch(a){a=id(a);if(Vc(a,7)){e=a;!d&&(d=new Ci);h=$g(d.b,e,d)}else throw a}}if(d){throw new fe(d)}}
function hb(b,c){var a,d,e,f;for(d=0,e=b.length;d<e;++d){f=b[d];try{f[1]?f[0].P()&&(c=gb(c,f)):($wnd.__gwt_initWindowCloseHandler(Qi(ud),Qi(td)),undefined)}catch(a){a=id(a);if(!Vc(a,2))throw a}}return c}
function hc(a,b,c){var d;if(!b){throw new rg('Cannot add a handler with a null type')}if(!c){throw new rg('Cannot add a null handler')}a.c>0?gc(a,new xf(a,b,c)):(d=kc(a,b),d.D(c),undefined);return new vf}
function Dg(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function sb(a){var b,c;if(!(b=ub(),b!=-1&&b>=1009000)&&(c=a.ownerDocument.defaultView.getComputedStyle(a,null),c.direction==Si)){return (a.scrollLeft||0)-((a.scrollWidth||0)-a.clientWidth)}return a.scrollLeft||0}
function kf(a,b,c){var d,e;if(c<0||c>a.c){throw new ng}if(a.c==a.b.length){e=Jc(_c,{20:1},9,a.b.length*2,0);for(d=0;d<a.b.length;++d){Mc(e,d,a.b[d])}a.b=e}++a.c;for(d=a.c-1;d>c;--d){Mc(a.b,d,a.b[d-1])}Mc(a.b,c,b)}
function ag(a,b,c,d){var e,f,g,h;e=Zf(a,b);f=Tf(a,e);g=Jc(Yc,{20:1},-1,4,1);h=Jc(Yc,{20:1},-1,4,1);g[0]=f[0].b;g[1]=f[1].b;g[2]=f[2].b;g[3]=f[3].b;h[0]=f[0].c;h[1]=f[1].c;h[2]=f[2].c;h[3]=f[3].c;return _f(g,h,c,d)}
function We(a){Se();var b,c;c=Tc(Wg(Qe,a),10);b=null;if(a!=null){if(!(b=$doc.getElementById(a))){return null}}if(c){if(!b||c.o==b){return c}}Qe.e==0&&qd(new _e);!b?(c=new bf):(c=new Te(b));$g(Qe,a,c);Bi(Re,c);return c}
function rb(a,b){if(Element.prototype.getBoundingClientRect){return b.getBoundingClientRect().top+a.scrollTop|0}else{var c=b.ownerDocument;return c.getBoxObjectFor(b).screenY-c.getBoxObjectFor(c.documentElement).screenY}}
function qb(a,b){if(Element.prototype.getBoundingClientRect){return b.getBoundingClientRect().left+a.scrollLeft|0}else{var c=b.ownerDocument;return c.getBoxObjectFor(b).screenX-c.getBoxObjectFor(c.documentElement).screenX}}
function u(a){var b;if(a.i){throw new lg("Should only call onAttach when the widget is detached from the browser's document")}a.i=true;a.o.__listener=a;b=a.j;a.j=-1;b>0&&(a.j==-1?Pd(a.o,b|(a.o.__eventBits||0)):(a.j|=b));a.r()}
function ub(){var a=/rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase());if(a&&a.length>=3){var b=parseInt(a[1])*1000000+parseInt(a[2])*1000+parseInt(a.length>=5&&!isNaN(a[4])?a[4]:0);return b}return -1}
function Jf(a,b,c){var d,e,f;if(!c)return null;if(b.b==c.b||b.b.length<=c.b.length){return null}else{f=a.b.createElement(Cj);e=If(b,c);d='even';(b.c+b.d)%2!=0&&(d='odd');f.src=a.b.URL.substr(0,a.b.URL.indexOf(Dj)-0)+Ej+c.b+'/border_'+e+'_'+d+Fj;return f}}
function Uf(a){var b;a.p=Kc([gd,cd],[{20:1},{11:1,20:1}],[11,28],[a.c,a.b],0,2,0);a.e=~~(a.b/2)*a.n+~~(a.n/2);a.d=~~(a.o/2);for(b=0;b<a.q.length;++b){Mc(a.p[a.q[b].c],a.q[b].d,a.q[b])}for(b=0;b<a.q.length;++b){Xf(a,a.q[b])}for(b=0;b<a.q.length;++b){Wf(a,a.q[b])}}
function If(a,b){if(a.c+1==b.c&&a.d+1==b.d){return 'E'}if(a.c-1==b.c&&a.d-1==b.d){return 'W'}if(a.c==b.c&&a.d+1==b.d){return 'SE'}if(a.c==b.c&&a.d-1==b.d){return 'NW'}if(a.c-1==b.c&&a.d==b.d){return 'SW'}if(a.c+1==b.c&&a.d==b.d){return 'NE'}if(a.c+1==b.c&&a.d-1==b.d){return 'N'}if(a.c-1==b.c&&a.d+1==b.d){return 'S'}return Ri}
function jc(b,c){var a,d,e,f,g,h,i;if(!c){throw new rg('Cannot fire null event')}try{++b.c;g=lc(b,c.w());d=null;h=b.d?g.O(g.F()):g.N();while(b.d?h.c>0:h.c<h.d.F()){f=b.d?Xh(h):Sh(h);try{c.v(Tc(f,12))}catch(a){a=id(a);if(Vc(a,7)){e=a;!d&&(d=new Ci);i=$g(d.b,e,d)}else throw a}}if(d){throw new sc(d)}}finally{--b.c;b.c==0&&mc(b)}}
function Qd(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=Qi(ud)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=Qi(function(a){try{od&&$b((!pd&&(pd=new Cd),pd))}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function hd(){var a;!!$stats&&jd('com.google.gwt.user.client.UserAgentAsserter');a=nd();ug(Xi,a)||($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (gecko1_8) does not match the runtime user.agent value ('+a+'). Expect more errors.\n'),undefined);!!$stats&&jd('gwt.board.demo.client.BoardDemo');zf(new Af)}
function Od(){$wnd.addEventListener(ej,Qi(function(a){var b=Hd;if(b&&!a.relatedTarget){if('html'==a.target.tagName.toLowerCase()){var c=$doc.createEvent('MouseEvents');c.initMouseEvent(gj,true,true,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(c)}}}),true);$wnd.addEventListener(hj,Jd,true)}
function Xf(a,b){var c,d,e;c=Zf(a,b);e=Tf(a,c);if(a.j){a.f.beginPath();a.f.moveTo(e[0].b,e[0].c);a.f.lineTo(e[1].b,e[1].c);a.f.lineTo(e[2].b,e[2].c);a.f.lineTo(e[3].b,e[3].c);a.f.lineTo(e[0].b,e[0].c);a.f.stroke();a.f.closePath()}d=Kf(a.k,b);a.f.drawImage(d,e[0].b,e[1].c,d.width,d.height);a.g&&Vf(a,b,e[0].b,e[1].c);a.i&&(a.f.strokeText(Ri+b.c+Bj+b.d,c.b,c.c),undefined)}
function Vf(a,b,c,d){var e,f;e=Jc(Zc,{20:1},0,8,0);e[0]=Jf(a.k,b,Yf(a,b.c-1,b.d-1));e[1]=Jf(a.k,b,Yf(a,b.c,b.d-1));e[2]=Jf(a.k,b,Yf(a,b.c+1,b.d-1));e[3]=Jf(a.k,b,Yf(a,b.c-1,b.d+1));e[4]=Jf(a.k,b,Yf(a,b.c,b.d+1));e[5]=Jf(a.k,b,Yf(a,b.c+1,b.d+1));e[6]=Jf(a.k,b,Yf(a,b.c+1,b.d));e[7]=Jf(a.k,b,Yf(a,b.c-1,b.d));for(f=0;f<e.length;++f){!!e[f]&&(a.f.drawImage(e[f],c,d,e[f].width,e[f].height),undefined)}}
function nd(){var b=navigator.userAgent.toLowerCase();var c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return b.indexOf(Yi)!=-1}())return Yi;if(function(){return b.indexOf('webkit')!=-1}())return 'safari';if(function(){return b.indexOf(Zi)!=-1&&$doc.documentMode>=9}())return 'ie9';if(function(){return b.indexOf(Zi)!=-1&&$doc.documentMode>=8}())return 'ie8';if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(b);if(a&&a.length==3)return c(a)>=6000}())return 'ie6';if(function(){return b.indexOf('gecko')!=-1}())return Xi;return 'unknown'}
function zf(a){var b,c,d,e,f;a.d=G();if(!a.d){$d((Se(),We(null)),new Ne);return}a.d.o[sj]='mainCanvas';a.d.o.style['width']='1020px';a.d.o.width=1020;a.d.o.style['height']='600px';a.d.o.height=600;a.e=a.d.o.getContext(M);a.e.strokeStyle='White';c=new Mf($doc);f=Jc(ad,{11:1,20:1},26,64,0);e=0;for(b=0;b<8;++b){for(d=0;d<8;++d){f[e]=new Pf(b,d);++e}}f[10].b='desert';f[25].b=Aj;f[38].b=Aj;f[39].b=Aj;f[43].b=Aj;f[44].b=Aj;a.c=new bg(f,a.e,c);He(a.b,a.f);He(a.b,a.i);df(a.g,a.b);df(a.g,a.d);$d(We('boardDemo'),a.g);s(a.f,new Cf(a),(Kb(),Kb(),Jb));s(a.d,new Ff(a),Jb)}
function Ed(a){switch(a){case 'blur':return 4096;case 'change':return 1024;case Ui:return 1;case $i:return 2;case 'focus':return 2048;case _i:return 128;case aj:return 256;case bj:return 512;case 'load':return 32768;case 'losecapture':return 8192;case cj:return 4;case dj:return 64;case ej:return 32;case fj:return 16;case gj:return 8;case 'scroll':return 16384;case 'error':return 65536;case hj:case ij:return 131072;case 'contextmenu':return 262144;case 'paste':return 524288;case jj:return 1048576;case kj:return 2097152;case lj:return 4194304;case mj:return 8388608;case nj:return 16777216;case oj:return 33554432;case pj:return 67108864;case 'ended':return 134217728;case 'progress':return 268435456;case 'canplaythrough':return 536870912;default:return -1;}}
function Md(){Id=Qi(function(a){return true});Kd=Qi(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&Gd(b)&&md(a,c,b)});Ld=Qi(function(a){this.__gwtLastUnhandledEvent=a.type;Kd.call(this,a)});Jd=Qi(function(a){var b=Id;if(b(a)){var c=Hd;if(c&&c.__listener){if(Gd(c.__listener)){md(a,c,c.__listener);a.stopPropagation()}}}});$wnd.addEventListener(Ui,Jd,true);$wnd.addEventListener($i,Jd,true);$wnd.addEventListener(cj,Jd,true);$wnd.addEventListener(gj,Jd,true);$wnd.addEventListener(dj,Jd,true);$wnd.addEventListener(fj,Jd,true);$wnd.addEventListener(ej,Jd,true);$wnd.addEventListener(ij,Jd,true);$wnd.addEventListener(_i,Id,true);$wnd.addEventListener(bj,Id,true);$wnd.addEventListener(aj,Id,true);$wnd.addEventListener(jj,Jd,true);$wnd.addEventListener(kj,Jd,true);$wnd.addEventListener(lj,Jd,true);$wnd.addEventListener(mj,Jd,true);$wnd.addEventListener(nj,Jd,true);$wnd.addEventListener(oj,Jd,true);$wnd.addEventListener(pj,Jd,true)}
function Nd(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?Kd:null);c&2&&(a.ondblclick=b&2?Kd:null);c&4&&(a.onmousedown=b&4?Kd:null);c&8&&(a.onmouseup=b&8?Kd:null);c&16&&(a.onmouseover=b&16?Kd:null);c&32&&(a.onmouseout=b&32?Kd:null);c&64&&(a.onmousemove=b&64?Kd:null);c&128&&(a.onkeydown=b&128?Kd:null);c&256&&(a.onkeypress=b&256?Kd:null);c&512&&(a.onkeyup=b&512?Kd:null);c&1024&&(a.onchange=b&1024?Kd:null);c&2048&&(a.onfocus=b&2048?Kd:null);c&4096&&(a.onblur=b&4096?Kd:null);c&8192&&(a.onlosecapture=b&8192?Kd:null);c&16384&&(a.onscroll=b&16384?Kd:null);c&32768&&(a.onload=b&32768?Ld:null);c&65536&&(a.onerror=b&65536?Kd:null);c&131072&&(a.onmousewheel=b&131072?Kd:null);c&262144&&(a.oncontextmenu=b&262144?Kd:null);c&524288&&(a.onpaste=b&524288?Kd:null);c&1048576&&(a.ontouchstart=b&1048576?Kd:null);c&2097152&&(a.ontouchmove=b&2097152?Kd:null);c&4194304&&(a.ontouchend=b&4194304?Kd:null);c&8388608&&(a.ontouchcancel=b&8388608?Kd:null);c&16777216&&(a.ongesturestart=b&16777216?Kd:null);c&33554432&&(a.ongesturechange=b&33554432?Kd:null);c&67108864&&(a.ongestureend=b&67108864?Kd:null)}
var Ri='',Gj=' ',Bj=',',Fj='.png',Dj='/',yj='0',Hj=':',Ti='CSS1Compat',hj='DOMMouseScroll',uj='align',zj='cellPadding',xj='cellSpacing',sj='className',Ui='click',$i='dblclick',Vi='dir',Xi='gecko1_8',oj='gesturechange',pj='gestureend',nj='gesturestart',Ej='images/tiles/',Cj='img',_i='keydown',aj='keypress',bj='keyup',qj='left',Wi='ltr',cj='mousedown',dj='mousemove',ej='mouseout',fj='mouseover',gj='mouseup',ij='mousewheel',Zi='msie',Yi='opera',Aj='plains',Si='rtl',tj='td',rj='top',mj='touchcancel',lj='touchend',kj='touchmove',jj='touchstart',wj='tr',vj='verticalAlign';var _;_=p.prototype={};_.eQ=function q(a){return this===a};_.hC=function r(){return this.$H||(this.$H=++W)};_.tM=Pi;_.cM={};_=o.prototype=new p;_.cM={25:1};_.o=null;_=n.prototype=new o;_.r=function z(){};_.s=function A(){};_.t=function B(){u(this)};_.u=function C(a){var b;switch(Ed(a.type)){case 16:case 32:b=pb(a);if(!!b&&tb(this.o,b)){return}}Fb(a,this,this.o)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.i=false;_.j=0;_.k=null;_.n=null;_=m.prototype=new n;_.t=function D(){var a;u(this);a=this.o.tabIndex;-1==a&&(this.o.tabIndex=0,undefined)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=F.prototype=l.prototype=new m;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};var E=null;_=I.prototype=new p;_.cM={};_=J.prototype=H.prototype=new I;_.cM={};var M='2d';_=Q.prototype=new p;_.cM={7:1,20:1};_=P.prototype=new Q;_.cM={7:1,20:1};_=O.prototype=new P;_.cM={2:1,7:1,20:1};_=T.prototype=N.prototype=new O;_.cM={2:1,7:1,20:1};_.b=null;_=U.prototype=new p;_.cM={};var V=0,W=0;_=fb.prototype=ab.prototype=new U;_.cM={};_.b=null;_.c=null;var bb;_=Db.prototype=new p;_.cM={};_.e=null;_=Cb.prototype=new Db;_.cM={};_.d=false;_=Bb.prototype=new Cb;_.w=function Gb(){return Kb(),Jb};_.cM={};_.b=null;_.c=null;var Eb=null;_=Ab.prototype=new Bb;_.cM={};_=zb.prototype=new Ab;_.cM={};_=Lb.prototype=yb.prototype=new zb;_.v=function Mb(a){Tc(a,3).x(this)};_.cM={};var Jb;_=Pb.prototype=new p;_.hC=function Rb(){return this.d};_.cM={};_.d=0;var Qb=0;_=Sb.prototype=Ob.prototype=new Pb;_.cM={};_=Tb.prototype=Nb.prototype=new Ob;_.cM={4:1};_.b=null;_.c=null;_=Vb.prototype=Ub.prototype=new p;_.cM={};_.b=null;_=Yb.prototype=Wb.prototype=new Cb;_.v=function Zb(a){Tc(a,5);Ve()};_.w=function _b(){return Xb};_.cM={};var Xb=null;_=cc.prototype=ac.prototype=new p;_.cM={18:1};_.b=null;_.c=null;_=fc.prototype=new p;_.cM={};_=ec.prototype=new fc;_.cM={};_.b=null;_.c=0;_.d=false;_=nc.prototype=dc.prototype=new ec;_.cM={};_=pc.prototype=oc.prototype=new p;_.cM={};_=sc.prototype=rc.prototype=new O;_.cM={2:1,6:1,7:1,20:1};_.b=null;_=tc.prototype=qc.prototype=new rc;_.cM={2:1,6:1,7:1,20:1};_=xc.prototype=new p;_.eQ=function yc(a){return this===a};_.hC=function zc(){return this.$H||(this.$H=++W)};_.cM={20:1,21:1,29:1};_.b=0;_=Ec.prototype=wc.prototype=new xc;_.cM={20:1,21:1,23:1,29:1};var Ac,Bc,Cc;_=Gc.prototype=Fc.prototype=new p;_.cM={};_.aC=null;_.qI=0;var Nc,Oc;var kd=null,ld=null;var od=false,pd=null;_=yd.prototype=vd.prototype=new Cb;_.v=function zd(a){Xc(a);null.P()};_.w=function Ad(){return wd};_.cM={};var wd;_=Cd.prototype=Bd.prototype=new ac;_.cM={18:1};var Dd=false;var Hd=null,Id=null,Jd=null,Kd=null,Ld=null;_=Td.prototype=new n;_.r=function Ud(){ge(this,(ee(),ce))};_.s=function Vd(){ge(this,(ee(),de))};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Sd.prototype=new Td;_.y=function Yd(){return new rf(this.g)};_.z=function Zd(a){return Xd(this,a)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Rd.prototype=new Sd;_.z=function ae(a){var b;b=Xd(this,a);b&&_d(a.o);return b};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=fe.prototype=be.prototype=new qc;_.cM={2:1,6:1,7:1,20:1};var ce,de;_=ie.prototype=he.prototype=new p;_.A=function je(a){a.t()};_.cM={};_=le.prototype=ke.prototype=new p;_.A=function me(a){v(a)};_.cM={};_=oe.prototype=new m;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=pe.prototype=ne.prototype=new oe;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=qe.prototype=new Sd;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.e=null;_.f=null;_=ue.prototype=se.prototype=new p;_.cM={};_.b=null;_.c=null;_.d=null;var ve,we,xe;_=ze.prototype=new p;_.cM={};_=Be.prototype=Ae.prototype=new ze;_.cM={};_.b=null;var Ce;
--></script>
<script><!--
_=Fe.prototype=Ee.prototype=new p;_.cM={};_.b=null;_=Ie.prototype=Ge.prototype=new qe;_.z=function Je(a){var b,c,d;c=(d=a.o.parentNode,(!d||d.nodeType!=1)&&(d=null),d);b=Xd(this,a);b&&this.c.removeChild(c);return b};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.c=null;_=Le.prototype=new n;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.b=null;_=Ne.prototype=Me.prototype=Ke.prototype=new Le;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Te.prototype=Oe.prototype=new Rd;_.cM={8:1,9:1,10:1,17:1,18:1,19:1,25:1};var Pe,Qe,Re;_=Ye.prototype=Xe.prototype=new p;_.A=function Ze(a){a.i&&v(a)};_.cM={};_=_e.prototype=$e.prototype=new p;_.cM={5:1,12:1};_=bf.prototype=af.prototype=new Oe;_.cM={8:1,9:1,10:1,17:1,18:1,19:1,25:1};_=ef.prototype=cf.prototype=new qe;_.z=function ff(a){var b,c,d;c=(d=a.o.parentNode,(!d||d.nodeType!=1)&&(d=null),d);b=Xd(this,a);b&&this.e.removeChild(ob(c));return b};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=nf.prototype=gf.prototype=new p;_.y=function of(){return new rf(this)};_.cM={};_.b=null;_.c=0;_=rf.prototype=pf.prototype=new p;_.B=function sf(){return this.b<this.c.c-1};_.C=function tf(){return qf(this)};_.cM={};_.b=-1;_.c=null;_=vf.prototype=uf.prototype=new p;_.cM={};_=xf.prototype=wf.prototype=new p;_.cM={15:1};_.b=null;_.c=null;_.d=null;_=Af.prototype=yf.prototype=new p;_.cM={};_.c=null;_.d=null;_.e=null;_=Cf.prototype=Bf.prototype=new p;_.x=function Df(a){Uf(this.b.c)};_.cM={3:1,12:1};_.b=null;_=Ff.prototype=Ef.prototype=new p;_.x=function Gf(a){var b,c;c=$f(this.b.c,Hb(a),Ib(a));if(c){b=Ri+c.c+Bj+c.d;te(this.b.i.b,' position : '+b)}else{te(this.b.i.b,' position : Out of Board')}};_.cM={3:1,12:1};_.b=null;_=Mf.prototype=Hf.prototype=new p;_.cM={};_.b=null;_=Pf.prototype=Nf.prototype=new p;_.cM={26:1,28:1};_.b=Ri;_.c=0;_.d=0;_=Rf.prototype=Qf.prototype=new p;_.cM={22:1};_=bg.prototype=Sf.prototype=new p;_.cM={};_.b=0;_.c=0;_.d=0;_.e=0;_.f=null;_.g=false;_.i=false;_.j=false;_.k=null;_.n=0;_.o=0;_.p=null;_.q=null;_=dg.prototype=cg.prototype=new p;_.cM={27:1};_.b=0;_.c=0;_=fg.prototype=eg.prototype=new O;_.cM={2:1,7:1,20:1};_=hg.prototype=gg.prototype=new p;_.cM={};_=jg.prototype=ig.prototype=new O;_.cM={2:1,7:1,20:1};_=lg.prototype=kg.prototype=new O;_.cM={2:1,7:1,20:1};_=og.prototype=ng.prototype=mg.prototype=new O;_.cM={2:1,7:1,20:1};_=rg.prototype=qg.prototype=pg.prototype=new O;_.cM={2:1,7:1,20:1};_=tg.prototype=sg.prototype=new p;_.cM={20:1,30:1};_=String.prototype;_.eQ=function xg(a){return ug(this,a)};_.hC=function yg(){return Eg(this)};_.cM={1:1,20:1,21:1};var zg,Ag=0,Bg;_=Hg.prototype=Gg.prototype=new O;_.cM={2:1,7:1,20:1};_=Ig.prototype=new p;_.D=function Kg(a){throw new Hg('Add not supported on this collection')};_.E=function Lg(a){var b;b=Jg(this.y(),a);return !!b};_.G=function Mg(a){var b,c,d;d=this.F();a.length<d&&(a=Hc(a,d));c=this.y();for(b=0;b<d;++b){Mc(a,b,c.C())}a.length>d&&Mc(a,d,null);return a};_.cM={};_=Og.prototype=new p;_.eQ=function Qg(a){var b,c,d,e,f;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[13])){return false}e=Tc(a,13);if(this.e!=e.e){return false}for(c=new qh((new lh(e)).b);Rh(c.b);){b=Tc(Sh(c.b),31);d=b.I();f=b.J();if(!(d==null?this.d:d!=null&&d.cM&&!!d.cM[1]?Hj+Tc(d,1) in this.f:Yg(this,d,~~L(d)))){return false}if(!Oi(f,d==null?this.c:d!=null&&d.cM&&!!d.cM[1]?this.f[Hj+Tc(d,1)]:Xg(this,d,~~L(d)))){return false}}return true};_.hC=function Rg(){var a,b,c;c=0;for(b=new qh((new lh(this)).b);Rh(b.b);){a=Tc(Sh(b.b),31);c+=a.hC();c=~~c}return c};_.cM={13:1};_=Ng.prototype=new Og;_.H=function fh(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)};_.cM={13:1};_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=hh.prototype=new Ig;_.eQ=function ih(a){var b,c,d;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[32])){return false}c=Tc(a,32);if(c.F()!=this.F()){return false}for(b=c.y();b.B();){d=b.C();if(!this.E(d)){return false}}return true};_.hC=function jh(){var a,b,c;a=0;for(b=this.y();b.B();){c=b.C();if(c!=null){a+=L(c);a=~~a}}return a};_.cM={32:1};_=lh.prototype=gh.prototype=new hh;_.E=function mh(a){return kh(this,a)};_.y=function nh(){return new qh(this.b)};_.F=function oh(){return this.b.e};_.cM={32:1};_.b=null;_=qh.prototype=ph.prototype=new p;_.B=function rh(){return Rh(this.b)};_.C=function sh(){return Tc(Sh(this.b),31)};_.cM={};_.b=null;_=uh.prototype=new p;_.eQ=function vh(a){var b;if(a!=null&&a.cM&&!!a.cM[31]){b=Tc(a,31);if(Oi(this.I(),b.I())&&Oi(this.J(),b.J())){return true}}return false};_.hC=function wh(){var a,b;a=0;b=0;this.I()!=null&&(a=L(this.I()));this.J()!=null&&(b=L(this.J()));return a^b};_.cM={31:1};_=xh.prototype=th.prototype=new uh;_.I=function yh(){return null};_.J=function zh(){return this.b.c};_.K=function Ah(a){return ah(this.b,a)};_.cM={31:1};_.b=null;_=Ch.prototype=Bh.prototype=new uh;_.I=function Dh(){return this.b};_.J=function Eh(){return this.c.f[Hj+this.b]};_.K=function Fh(a){return bh(this.c,this.b,a)};_.cM={31:1};_.b=null;_.c=null;_=Gh.prototype=new Ig;_.D=function Hh(a){this.L(this.F(),a);return true};_.L=function Ih(a,b){throw new Hg('Add not supported on this list')};_.eQ=function Kh(a){var b,c,d,e,f;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[14])){return false}f=Tc(a,14);if(this.F()!=f.F()){return false}d=new Th(this);e=f.y();while(d.c<d.d.F()){b=Sh(d);c=Sh(e);if(!(b==null?c==null:K(b,c))){return false}}return true};_.hC=function Lh(){var a,b,c;b=1;a=new Th(this);while(a.c<a.d.F()){c=Sh(a);b=31*b+(c==null?0:L(c));b=~~b}return b};_.y=function Nh(){return new Th(this)};_.N=function Oh(){return new Yh(this,0)};_.O=function Ph(a){return new Yh(this,a)};_.cM={14:1};_=Th.prototype=Qh.prototype=new p;_.B=function Uh(){return this.c<this.d.F()};_.C=function Vh(){return Sh(this)};_.cM={};_.c=0;_.d=null;_=Yh.prototype=Wh.prototype=new Qh;_.cM={};_.b=null;_=$h.prototype=Zh.prototype=new hh;_.E=function _h(a){return Vg(this.b,a)};_.y=function ai(){var a;return a=new qh(this.c.b),new di(a)};_.F=function bi(){return this.c.b.e};_.cM={32:1};_.b=null;_.c=null;_=di.prototype=ci.prototype=new p;_.B=function ei(){return Rh(this.b.b)};_.C=function fi(){var a;a=Tc(Sh(this.b.b),31);return a.I()};_.cM={};_.b=null;_=ji.prototype=gi.prototype=new Gh;_.D=function ki(a){return Mc(this.b,this.c++,a),true};_.L=function li(a,b){(a<0||a>this.c)&&Mh(a,this.c);this.b.splice(a,0,b);++this.c};_.E=function mi(a){return ii(this,a,0)!=-1};_.M=function ni(a){return Jh(a,this.c),this.b[a]};_.F=function oi(){return this.c};_.G=function pi(a){var b,c,d;a.length<this.c&&(a=(c=a,d=Ic(0,this.c),Lc(c.aC,c.cM,c.qI,d),d));for(b=0;b<this.c;++b){Mc(a,b,this.b[b])}a.length>this.c&&Mc(a,this.c,null);return a};_.cM={14:1,20:1};_.c=0;var qi;_=ti.prototype=si.prototype=new Gh;_.E=function ui(a){return false};_.M=function vi(a){throw new ng};_.F=function wi(){return 0};_.cM={14:1,20:1};_=zi.prototype=xi.prototype=new Ng;_.cM={13:1,20:1};_=Ci.prototype=Ai.prototype=new hh;_.D=function Di(a){var b;return b=$g(this.b,a,this),b==null};_.E=function Ei(a){return Vg(this.b,a)};_.y=function Fi(){var a;return a=new qh(Pg(this.b).c.b),new di(a)};_.F=function Gi(){return this.b.e};_.cM={20:1,32:1};_.b=null;_=Ii.prototype=Hi.prototype=new uh;_.I=function Ji(){return this.b};_.J=function Ki(){return this.c};_.K=function Li(a){var b;b=this.c;this.c=a;return b};_.cM={31:1};_.b=null;_.c=null;_=Ni.prototype=Mi.prototype=new O;_.cM={2:1,7:1,20:1};var Qi=Z;var Yc=new hg,ed=new hg,$c=new hg,_c=new hg,fd=new hg,ad=new hg,cd=new hg,gd=new hg,Zc=new hg,bd=new hg,dd=new hg;$stats && $stats({moduleName:'boarddemo',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.boarddemo) $wnd.boarddemo.onScriptLoad();
--></script></body></html>